package com.jd.gitdemo0702.bean;

import lombok.*;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
//@TableName("user")
public class User {
//    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String userName;
    private String roleCode;
    private String userPass;
//    @TableField(condition = SqlCondition.LIKE)
    private String cname;
    private String isLogin;
//    @TableField(value = "telphone")
    private String telphone;
    private String address;
    private String nation;
    private String email;
    private String userImg;
    private String gender;
//    @TableField(exist = false)
    private String genderDisplay;// 为了页面显示性别而添加的

    public User(Integer userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

}